package com.free.json;

public class Address {
	private String road;
	private String streate;
	private String provience;
	private String num;

	public String getRoad() {
		return road;
	}

	public void setRoad(String road) {
		this.road = road;
	}

	public String getStreate() {
		return streate;
	}

	public void setStreate(String streate) {
		this.streate = streate;
	}

	public String getProvience() {
		return provience;
	}

	public void setProvience(String provience) {
		this.provience = provience;
	}

	public void setNum(String num) {
		this.num = num;
	}

	public String getNum() {
		return num;
	}
	
	public static void main(String[] args) {
		String parent = "晴转中到大雨";
//		String parent = "/root/child";
		String[] tq=parent.split("转");
		
		String tq2=tq[1];
		//晴转中到大雨
		if(tq2.contains("到")){
			tq2 = tq2.substring(tq2.indexOf("到")+1);
		}
		
		System.out.println(tq2);
	}

}